<%@ page language="java" import="java.util.*" pageEncoding="utf-8" isELIgnored="false"%>
<%@ page import="com.spoto.oa.dao.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">


		<script type="text/javascript" src="js/lib/jquery-1.4.2.js">
</script>
		<script type="text/javascript" src="js/lib/jquery.validate.js">
</script>
<script type="text/javascript" src="js/ckeditor/ckeditor.js">
</script>
<script src="js/customer/add_customer.js" type="text/javascript">
</script>
		<link href="style/v1/common/form.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="js/customer/update_customer.js">
</script>

	</head>
	<body>
		<h1>
			修改客户信息
		</h1>
		<form action="CustomerServlet?op_type=update" class="form" method="post">
		
			<ul>
				<li>
					客户名称:<input type="hidden" name="name_hidden" value="${customer.name}"/>
					<input type="text" name="name" value="${customer.name}"
						disabled="disabled" />
				</li>
				<li>
					客户所属公司：
					<input type="text" name="company" value="${customer.company}" />
				</li>
				<li>
					重要程度 :
					<input type="hidden" name="levelvalue" id="levelvalue" value="${customer.level}"/> 
					<select name="level">
						<option>
							1
						</option>
						<option>
							2
						</option>
						<option>
							3
						</option>
						<option>
							4
						</option>
						<option>
							5
						</option>
					</select>
				</li>
				<li>
					客户手机电话：
					<input type="text" name="mobile" value="${customer.mobile}" />
				</li>
				<li>
				<input type="hidden" name="creator" value="${customer.creator}"/>
				创建者:<input type="text" name="creator" value="${customer.creator}" disabled="disabled"/>
				</li>
				<li>
					客户地址:
					<input type="text" name="address" value="${customer.address}" />
				</li>
				<li>
					QQ:
					<input type="text" name="qq" value="${customer.qq}"/>
				</li>
				<li>
					MSN:
					<input type="text" name="msn" value="${customer.msn}" />
				</li>
				<li>
					Email:
					<input type="text" name="email" value="${customer.email}" />
				</li>
				<li>
					备注:
					<textarea name="others">${customer.others}</textarea>
				</li>
				<li>
					<input type="submit" name="submit" value="修改" />
				</li>
			</ul>
		</form>
	</body>
</html>